# -*- coding: utf-8 -*-
__author__ = 'wwj'
from twisted.internet import reactor
from scrapy.utils.project import get_project_settings
from scrapy.crawler import CrawlerProcess

process = CrawlerProcess(get_project_settings())
try:
    # logging.info('runspider start spider:%s' % name)
    import ipdb;ipdb.set_trace()
    process.crawl("newdmm")
    process.start()
except Exception as e:
    import ipdb;ipdb.set_trace()
    # logging.exception('runspider spider:%s exception:%s' % (name, e))